
package regraDeNegocio;

import bancoDeDados.BDBemPatrimonial;
import java.sql.SQLException;

/**
 *
 * @author Grupo IV
 * 
 */
public class RNBemPatrimonial {
    
    private String cor;
    private String marca;
    private String descr;
    private String numSerie;
    private int responsavel;
    private int plaqueta;
    private String notaFiscal;
    private int predio;
    private int sala;
    
    public RNBemPatrimonial(String descr, String cor, int plaq, String notafiscal, int resp, int pred, int sa, String marca, String numSerie){
        
        this.descr = descr;
        this.cor = cor;
        this.plaqueta = plaq;
        this.notaFiscal = notafiscal;
        this.responsavel = resp;
        this.predio = pred;
        this.sala = sa;
        this.marca = marca;
        this.numSerie = numSerie;
    }
    
     public void insertBDBem(RNBemPatrimonial bem) throws SQLException{
        BDBemPatrimonial bdBem = new BDBemPatrimonial();
        bdBem.insertBD(bem);
    }
     
    public String getCor() {
        return cor;
    }

    public void setCor(String cor) {
        this.cor = cor;
    }

    public String getMarca() {
        return marca;
    }

    public void setMarca(String marca) {
        this.marca = marca;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public String getNumSerie() {
        return numSerie;
    }

    public void setNumSerie(String numSerie) {
        this.numSerie = numSerie;
    }

    public int getResponsavel() {
        return responsavel;
    }

    public void setResponsavel(int responsavel) {
        this.responsavel = responsavel;
    }

    public int getPlaqueta() {
        return plaqueta;
    }

    public void setPlaqueta(int plaqueta) {
        this.plaqueta = plaqueta;
    }

    public String getNotaFiscal() {
        return notaFiscal;
    }

    public void setNotaFiscal(String notaFiscal) {
        this.notaFiscal = notaFiscal;
    }

    public int getPredio() {
        return predio;
    }

    public void setPredio(int predio) {
        this.predio = predio;
    }

    public int getSala() {
        return sala;
    }

    public void setSala(int sala) {
        this.sala = sala;
    }

}